$controls/header()$
$controls/navigation()$
<form action="personalise.aspx" method="POST" name="PersonaliseForm" id="PersonalForm">
<table cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td width="180" valign="top">$controls/drawer()$ </td>
    <td width="5"></td>
    <td valign="top">
	$controls/tableheader(
      Caption="自定义设置",
      ElementId="custom"
      )$
      <table cellspacing="0" class="inner" width="100%">
        <tr class="forumtd">
          <td width="150">界面风格</td>
          <td>
		  <select name="template">
            <option value="" selected>- 使用默认 -</option>
			$Templates:{r|<option value="$r.Identifier$">$r.Name$</option>}$
          </select></td>
        </tr>
        <tr class="forumtd">
          <td width="20%">每页主题数</td>
          <td><select name="tps">
              <option value="0">- 使用默认 -</option>
              <option value="10">10</option>
              <option value="20" selected>20</option>
              <option value="30">30</option>
            </select></td>
        </tr>
        <tr class="forumtd">
          <td>每页回复数</td>
          <td><select name="rps">
              <option value="0">- 使用默认 -</option>
              <option value="5">5</option>
              <option value="10">10</option>
              <option value="15" selected>15</option>
            </select></td>
        </tr>
        <tr class="forumtd">
          <td>时差设定</td>
          <td><select name="timezone">
              <option value="9999" selected>- 使用默认 -</option>
              <option value="-12">(GMT -12:00) Eniwetok, Kwajalein</option>
              <option value="-11">(GMT -11:00) Midway Island, Samoa</option>
              <option value="-10">(GMT   -10:00) Hawaii</option>
              <option value="-9">(GMT -09:00) Alaska</option>
              <option value="-8">(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana</option>
              <option value="-7">(GMT -07:00) Mountain Time (US &amp; Canada), Arizona</option>
              <option value="-6">(GMT -06:00) Central Time (US &amp; Canada), Mexico City</option>
              <option value="-5">(GMT -05:00) Eastern Time (US &amp; Canada), Bogota, Lima,   Quito</option>
              <option value="-4">(GMT -04:00) Atlantic Time (Canada), Caracas, La   Paz</option>
              <option value="-3">(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option>
              <option value="-2">(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option>
              <option value="-1">(GMT -01:00) Azores, Cape Verde Islands</option>
              <option value="0">(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option>
              <option value="1">(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris,   Rome</option>
              <option value="2">(GMT +02:00) Cairo, Helsinki, Kaliningrad, South   Africa</option>
              <option value="3">(GMT +03:00) Baghdad, Riyadh, Moscow,   Nairobi</option>
              <option value="4">(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option>
              <option value="5">(GMT +05:00) Ekaterinburg,   Islamabad, Karachi, Tashkent</option>
              <option value="6">(GMT +06:00) Almaty, Colombo, Dhaka,   Novosibirsk</option>
              <option value="7">(GMT +07:00) Bangkok, Hanoi, Jakarta</option>
              <option value="8">(GMT   +08:00) Beijing, Hong Kong, Perth, Singapore, Taipei</option>
              <option value="9">(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option> 
              <option value="10">(GMT +10:00)   Canberra, Guam, Melbourne, Sydney, Vladivostok</option>

              <option value="11">(GMT   +11:00) Magadan, New Caledonia, Solomon Islands</option>
              <option value="12">(GMT   +12:00) Auckland, Wellington, Fiji, Marshall Island</option>
            </select></td>
        </tr>
        <tr class="forumtd">
          <td>日期格式</td>
          <td><select name="dateformat">
              <option value="" selected>- 使用默认 -</option>
              <option value="yyyy-MM-dd">yyyy-MM-dd</option> 
              <option value="yy-MM-dd">yy-MM-dd</option> 
              <option value="MM-dd">MM-dd</option> 
              <option value="yy年MM月dd日">yy年MM月dd日</option>
            </select></td>
        </tr>
        <tr class="forumtd">
          <td>时间格式</td>
          <td><label>
            <input type="radio" checked value="" name="timeformat" class="smallbox">
            默认</label>
            <label>
            <input type="radio" value="hh:mm" name="timeformat" class="smallbox">
            12 小时</label>
            <label>
            <input type="radio" value="HH:mm" name="timeformat" class="smallbox">
            24 小时</label></td>
        </tr>
        <tr class="forumtd">
          <td>短消息提示类型</td>
          <td><label>
            <INPUT type="radio" checked value="1" name="messageprompt" class="smallbox">
声音提示</LABEL>
            <label>
            <input type="radio" value="2" name="messageprompt" class="smallbox">
            窗口提示</label>
            <label>
            <input type="radio" value="3" name="messageprompt" class="smallbox">
            </label>
            <label>闪烁提示</label></td>
        </tr>
        <tr class="forumtd">
          <td>短消息提示音</td>
          <td><label>
            <input type="radio" value="0" name="messagesound" class="smallbox">
            无</label>
            <label>
            <input type="radio" checked value="1.wav" name="messagesound" class="smallbox">
            <a href="#" onclick="listen('1.wav')" title="点击试听">#1</a></label>
            <label>
            <input type="radio" value="2.wav" name="messagesound" class="smallbox">
            <a href="#" onclick="listen('2.wav')" title="点击试听">#2</a></label>
            <label>
            <input type="radio" value="3.wav" name="messagesound" class="smallbox">
            <a href="#" onclick="listen('3.wav')" title="点击试听">#3</a></label></td>
        </tr>
        <tr class="forumtd">
          <td>隐身登录</td>
          <td><label>
            <input type="radio" value="1" name="fadedlogin" class="smallbox"> 
            是
</label>
            <label>
            <input type="radio" value="0" name="fadedlogin" class="smallbox"> 
            否</label></td>
        </tr>
		
		<tr class="forumtd">
          <td>显示用户个性签名</td>
          <td><label>
            <input type="radio" value="1" name="showsignature" class="smallbox"> 
            是
</label>
            <label>
            <input type="radio" value="0" name="showsignature" class="smallbox"> 
            否</label></td>
        </tr>
		
        <tr class="forumtd">
          <td>回复列表排序方式</td>
          <td><input type="radio" value="asc" name="replysortmode" class="smallbox"> 
            升序（先发先显示）
</label>
            <label>
            <input type="radio" value="desc" name="replysortmode" class="smallbox"> 
            降序（后发先显示）</label></td>
        </tr>
        <tr class="forumtd">
          <td>&nbsp;</td>
          <td><input name="submit" type="submit" class="button" value="  保 存  " /></td>
        </tr>
      </table>
      $controls/tablefooter()$
	 </td>
  </tr>
</table>
<span id="listendiv"></span>
</form>
<script>

function listen(s)
{
	var obj = document.getElementById('listendiv');
	obj.innerHTML = '<embed src="images/sound/' + s + '" style="display:none" loop="false">';
	return false;
}

checkbyvalue(document.forms["PersonalForm"].template, '$Page.user.personal.Template$');
checkbyvalue(document.forms["PersonalForm"].tps, '$Page.user.personal.TopicPageSize$');
checkbyvalue(document.forms["PersonalForm"].rps, '$Page.user.personal.ReplyPageSize$');
checkbyvalue(document.forms["PersonalForm"].timezone, '$Page.user.personal.TimeZone$');
checkbyvalue(document.forms["PersonalForm"].dateformat, '$Page.user.personal.DateFormat$'); 
checkradiobyvalue(document.forms["PersonalForm"].timeformat, '$Page.user.personal.TimeFormat$');
checkradiobyvalue(document.forms["PersonalForm"].messageprompt, '$Page.user.personal.MessagePrompt$');
checkradiobyvalue(document.forms["PersonalForm"].messagesound, '$Page.user.personal.MessageSound$');
checkradiobyvalue(document.forms["PersonalForm"].fadedlogin, '$if(Page.user.personal.FadedLogin)$1$else$0$endif$');
checkradiobyvalue(document.forms["PersonalForm"].showsignature, '$if(Page.user.personal.ShowSignature)$1$else$0$endif$');
checkradiobyvalue(document.forms["PersonalForm"].replysortmode, '$Page.user.personal.ReplySortMode$');
</script>
$controls/footer()$